package com.qianqu.module_finding.fragment;


import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.qianqu.module_finding.R;
import com.qianqu.module_finding.view.CircleBmiView;

/**
 * ${description}
 *
 * @author weiqiliu
 * @version 1.0 2018/6/25
 */
@Route(path = "/find/fragment/main")
public class FindingFragment extends Fragment {
    private View view;
    private CircleBmiView circleBmiView;
    private TextView text_demo;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.fragment_finding, null);
        text_demo = (TextView) view.findViewById(R.id.demo);
        circleBmiView=view.findViewById(R.id.circle_view);
        circleBmiView.refreshDmi(17.8f);
        return view;
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }
}
